<?php session_start(); 
	include 'database/connect.php';
?>
	

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Shopping das Vertentes</title>
	<link rel="stylesheet" type="text/css" href="style.css" />
	<script type="text/javascript" src="js/boxOver.js"></script>
	<script type="text/javascript" src="js/jquery.js"></script>  
    <script type="text/javascript">  
		$(document).ready(function(){  
			$("#menu_fornecedor a").click(function( e ){  
				e.preventDefault();  
				var href = $( this ).attr('href');  
				$("#conteudo").load( href +" #conteudo");  
			});  
		});  
    </script>  
</head>
<body>
<div id="structure">
<div id="main_container">
	<div class="top_bar">
    	<div class="top_search">
        	<div class="search_text"><a href="#">Advanced Search</a></div>
            <input type="text" class="search_input" name="search" />
            <input type="image" src="images/search.gif" class="search_bt"/>
        </div>
    </div>
	<div id="header">
        <div id="logo">
            <a href="index.html"><img src="images/logo.png" alt="" title="" border="0" width="237" height="140" /></a>
	    </div>
        <div class="oferte_content">
        	<div class="top_divider"><img src="images/header_divider.png" alt="" title="" width="1" height="164" /></div>
        	<div class="oferta">
            
           		<div class="oferta_content">
                	<img src="images/laptop.png" width="94" height="92" border="0" class="oferta_img" />
                	
                    <div class="oferta_details">
                            <div class="oferta_title">Samsung GX 2004 LM</div>
                            <div class="oferta_text">
                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
                            </div>
                            <a href="details.html" class="details">details</a>
                    </div>
                </div>
                <div class="oferta_pagination">
                
                     <span class="current">1</span>
                     <a href="#?page=2">2</a>
                     <a href="#?page=3">3</a>
                     <a href="#?page=3">4</a>
                     <a href="#?page=3">5</a>  
                             
                </div> 
            </div>
            <div class="top_divider"><img src="images/header_divider.png" alt="" title="" width="1" height="164" /></div>        	
        </div> 
        </div>
    
   <div id="main_content"> 
   
            <div id="menu_tab">
            <div class="left_menu_corner"></div>
                    <ul class="menu">
                         <li><a href="index.php" class="nav1">  Home </a></li>
                         <li class="divider"></li>
                         <li><a href="#" class="nav2">Products</a></li>
                         <li class="divider"></li>
                         <li><a href="#" class="nav3">Specials</a></li>
                         <li class="divider"></li>
                         <li><a href="#" class="nav4">My account</a></li>
                         <li class="divider"></li>                       
                         <li><a href="#" class="nav5">Shipping </a></li>
                         <li class="divider"></li>
                         <li><a href="contact.html" class="nav6">Contact Us</a></li>
                         <li class="divider"></li>
                        <!-- <li><a href="#" class="nav4">Sign Up</a></li>
                         <li class="divider"></li>         -->
                    </ul>
             <div class="right_menu_corner"></div>
            </div>            
    <div class="crumb_navigation">
		Navigation: <span class="current">Home</span>    
    </div>    
    
   <div class="left_content">
    <div class="title_box">Menu de opções</div>
    
        <ul class="left_menu"  id="menu_fornecedor">
			<li class="odd"><a href="cadastros/cadastro_produto.php">Cadastrar Produtos</a></li>
			<li class="even"><a href="listagens/lista_produtos.php">Listar Produtos</a></li>
			<li class="even"><a href="services.html">Listar Vendas</a></li>
        </ul>  
   </div>
   
   <div class="center_content">
   	<div class="center_title_bar">Latest Products</div>    
			<?php include ('listagens/lista_produtos.php'); ?>
   </div> 
 
   <div class="right_content" id="logout_func">
		<div class="bem-vindo">Seja bem vindo, <?php echo $_SESSION['nome_usuario']; ?>
			<a href="logout.php">Sair</a>
		</div>
		
	</div>
   
   <div class="footer">
        <div class="left_footer">
        <img src="images/footer_logo.png" alt="" title="" width="170" height="49"/>
        </div>
        
        <div class="center_footer">
        Template name. All Rights Reserved 2008<br />
        </div>
        
        <div class="right_footer">
        <a href="index.php">home</a>
        <a href="details.html">about</a>
        <a href="details.html">sitemap</a>
        <a href="details.html">rss</a>
        <a href="contact.html">contact us</a>
        </div>      
   </div>                 
</div>
</div>
</body>
</html>
